import { createStore } from 'vuex'
import user from './modules/user'

export default createStore({
  state: {
    msg:"我爱我的祖国",
    n:18,
  },
  getters: {
  },
  mutations: {
    // 更新n的
    SETN(state,data){
      state.n+=data;
    }
  },
  actions: {
  },
  modules: {
    user,
  }
})
